package cn.hanyx.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableCircuitBreaker
@EnableFeignClients(basePackages = "cn.hanyx.consumer.service")
@SpringBootApplication
@EnableEurekaClient
public class ConsumerApplication8080 {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication8080.class, args);
    }

}
